
package com.dhcc.bpm.modules.content.mapper;

import com.dhcc.bpm.modules.content.vo.DecompressQueryVo;
import com.dhcc.bpm.modules.content.entity.DocManagement;
import com.dhcc.bpm.modules.content.vo.DocManagementVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import java.util.List;

/**
 * @ClassName DocManagementMapper
 * @Description  文档管理 Mapper 接口
 * @Author lijiacheng
 * @Date 2020/2/21 14:16
 * @Version V1.0
 * @Copyright: 2020 东华软件 . All rights reserved.
 */

public interface DocManagementMapper extends BaseMapper<DocManagement> {

	/**
	 * 自定义分页
	 *
	 * @param page
	 * @param docManagement
	 * @return
	 */
	List<DocManagementVO> selectDocManagementPage(IPage page, DocManagementVO docManagement);

	/**
	 * 根据id查询文件路径
	 * @param opcPluploadId
	 * @return
	 */
    DecompressQueryVo selectFilePathById(Long opcPluploadId);

	/**
	 * 根据编号查询文档信息
	 * @param opcDirectoryCode
	 * @return
	 */
	DocManagement seleDocByCode(String opcDirectoryCode);

	DocManagementVO getDetailSelfById(Long id);
}
